package com.spring.student.register;

public class User {
    private String number;
    private String password;
    private String identity;

    public void setNumber(String number){
        this.number=number;
    }
    public String getNumber(){
        return number;
    }
    public void setPassword(String password){
        this.password=password;
    }
    public String getPassword(){
        return password;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }
    public String getIdentity(){
        return  identity;
    }

    @Override
    public String toString() {
        return " 注册成功：User{" +
                "number='" + number + '\'' +
                ", password='" + password + '\'' +
                ", identity='" + identity + '\'' +
                '}';
    }
}
